GetOffset
TheGetOffset
method returns the offset of the currently focused value.
ODULong GetOffset ();
- return value
- The offset (in bytes) of the read/write position from the beginning of the data stream in the currently focused value, expressed as an unsigned 32-bit value.
DISCUSSION
An offset of 0 means the beginning of the data stream corresponding to the focused value; an offset equal to the size returned by theGetSize
method means the end of the data stream.EXCEPTIONS
kODErrUnfocusedStorageUnit
- This storage unit is not focused on a value.
kODErrZeroRefCount
- This storage unit has a reference count of 0.
SEE ALSO
TheODStorageUnit::GetSize
method (page 695).
TheODStorageUnit::SetOffset
method (page 710).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help